package com.open.capacity.study.dao;

import com.open.capacity.common.model.StageIteration;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface StageIterationDao {

    int insert(StageIteration stageIter);

    StageIteration findById(Integer id);

    int updateStatusById(StageIteration si);

    int updateById (StageIteration stageIteration);

    int count (Map<String, Object> params);

    List<StageIteration> findList (Map<String, Object> params);
}
